package com.doit.day01;

import lombok.*;

import java.util.HashMap;

public class Test {
    public static void main(String[] args) {

        String name = JinGe.getName();


    }


    public static String changeData(Person p,int num,String abc){
        return p.apply(num, abc);
    }

}

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
class Person{
    private Integer id;
    private String name;
    private Integer age;
    private String gender;


    public String apply(Integer a ,String b){
        return b+a;
    }
}

